package com.ljc.service;

import com.ljc.entity.DeviceContract;
import com.ljc.vo.DeviceContractSearch;

import java.util.List;

public interface DeviceContractService {

    void add(DeviceContract deviceContract);
    List<DeviceContract> searchByUser(DeviceContractSearch search);

    DeviceContract findOne(int id);

    void update(DeviceContract deviceContract);
    void delete(int id );
    List<DeviceContract> searchByAdmit(DeviceContractSearch search);
}
